package ibm.websphere.monitor.page;

import java.util.List;

import java.util.List;

/**
 * @copyright www.timotai.net
 * @author 这家伙真懒
 * @date 2016-1-10
 * <pre>
 * 	分页结果集对象，保存分页结果及当前查询的总记录数
 * </pre>
 **/
public class PageResult<T>
{
	private List<T> data;

	private int  numberObjects;

	public PageResult(){};
	public PageResult(List<T> data ,int  numberObjects )
	{
		this.data=data;
		this.numberObjects=numberObjects;
	}

	public int getNumberObjects()
	{
		return numberObjects;
	}

	public void setNumberObjects(int numberObjects)
	{
		this.numberObjects = numberObjects;
	}

	public List<T> getData()
	{
		return data;
	}

	public void setData(List<T> data)
	{
		this.data = data;
	}
}
